// This file was decompiled using SASCM.ini published on 2077-03-20
{$CLEO .cs}
{$USE ini}

0000: NOP 
wait 0 
if 
  does_file_exist "cleo\actioncam_yuikawa22_onfoot.ini" 
jf @AIM_37      

  read_float_from_ini_file 1@ = read_float_from_ini_file "cleo\actioncam_yuikawa22_onfoot.ini" section "FOV_ONFOOT" key "FOV_CROUCH" 

:AIM_16 
wait 0 
if 
  Player.Defined($PLAYER_CHAR)
jf @AIM_16 
if 
  not Actor.Driving($PLAYER_ACTOR)
jf @AIM_16
if  
80E1:  not player 0 pressed_key 6
jf @AIM_16
if 
  Actor.Animation($PLAYER_ACTOR) == "WEAPON_crouch"
jf @AIM_16 
0801: get_camera_zoom_factor_to 0@ // float 
jump @AIM_20 

:AIM_20 
0931: lock_camera_zoom 1
0922: set_camera_zoom_from 0@ to 1@ timelimit 100 smooth_transition 1 
jump @AIM_35  

:AIM_35
wait 0 
if or  
00E1:  player 0 pressed_key 0
00E1:  player 0 pressed_key 1
00E1:  player 0 pressed_key 14
80E1:  not player 0 pressed_key 18
jf @AIM_35
0931: lock_camera_zoom 0
0922: set_camera_zoom_from 1@ to 0@ timelimit 100 smooth_transition 1 
jump @AIM_16

:AIM_37
wait 0 
terminate_this_custom_script 
